<include file="public@header"/>
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">

			<li><a href="{:url('Park/index')}">孵化器</a></li>
			<li><a href="{:url('Park/addPark')}">添加</a></li>
			<li class="active"><a href="javascript:;">详情</a></li>
			<!-- 	<li class="active><a href="{:url('station/index')}">园区添加</a></li> -->
			<!-- <li ><a href="javascript:;">编辑分类</a></li> -->
		</ul>

		<form method="post" class="form-horizontal  margin-top-20" action="editPark">
			<input type="hidden" name='id' value="{$detail.id}">
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">孵化器性质<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<select class="form-control" name="incubator_type" id="parent_id">
						<option value="">==请选择==</option>
						<option value="1" <if condition="$detail['incubator_type'] eq 1">selected</if>>园区</option>
						<option value="2" <if condition="$detail['incubator_type'] eq 2">selected</if>>众创空间</option>
						
					</select>
				</div>
			</div>

			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">银江自有</label>
				<div class="col-md-6 col-sm-10">
					<select class="form-control" name="park_type" id="parent_id">
						<option value="">==请选择==</option>
						<option value="1" <if condition="$detail['park_type'] eq 1">selected</if>>是</option>
						<option value="2" <if condition="$detail['park_type'] eq 2">selected</if>>否</option>
						
					</select>
				</div>
			</div>
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">孵化器名称<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input class="form-control" type="text" name="incubator_name" value="{$detail.incubator_name}" required="true">
				</div>
			</div>
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">孵化器图<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input class="form-control" type="text" name="pic_url" value="{$detail.pic_url}" required="true">
				</div>
			</div>
<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">图片</label>
				<div class="col-md-6 col-sm-10">
					<imagetpl name="pic_url" id="img" value="$detail['pic_url']"/>
				</div>
			</div>
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">孵化器地址<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input class="form-control" type="text" name="address" value="{$detail.address}" >
				</div>
			</div>
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">电话<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input class="form-control" type="text" name="tel" value="{$detail.tel}" >
				</div>
			</div>

			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">简介描述<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input class="form-control" type="text" name="describe" value="{$detail.describe}" required="true">
				</div>
			</div>
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">排序<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input class="form-control" type="text" name="sort" value="{$detail.sort}" required="true">
				</div>
			</div>
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">状态</label>
				<div class="col-md-6 col-sm-10">
					<select class="form-control" name="is_use" id="parent_id">
						<option value="">==请选择==</option>
						<option value="1" <if condition="$detail['is_use'] eq 1">selected</if>>可用</option>
						<option value="2" <if condition="$detail['is_use'] eq 2">selected</if>>禁用</option>
						
					</select>
				</div>
			</div>

			

		</div>
			<!-- <div class="form-group">
				<label for="input-remark" class="col-sm-2 control-label">备注</label>
				<div class="col-md-6 col-sm-10">
					<label class="radio-inline js-icheck"><input type="radio" name="status" value="1" checked>显示</label>
					<label class="radio-inline js-icheck"><input type="radio" name="status" value="0" <if condition="1">checked</if>>隐藏</label>
				</div>
			</div> -->
<!-- 			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">	<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
					<a class="btn btn-default" href="{:url('index',['type_id'=>1])}">{:lang('BACK')}</a>
				</div>
			</div> -->
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
	<script type="text/javascript">
		$(function() {

		});
	</script>
</body>
</html>